﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2012/1/4 23:39:50
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Sector7.Restaurant.EntityType
{
    /// <summary>
    /// 数据库操作返回值
    /// </summary>
    [DataContract]
    [Flags]
    public enum DBOptResultType : int
    {
        /// <summary>
        /// 操作成功
        /// </summary>
        [EnumMember]
        SUCCESS = 0,

        /// <summary>
        /// 未执行
        /// </summary>
        [EnumMember]
        NOT_YET = -1,

        /// <summary>
        /// 操作失败
        /// </summary>
        [EnumMember]
        FAILURE = -2,
    }
}
